<?php
// ====================================================
// filename:wl005_display.php
// summary: 用户详情画面_画面显示
// ====================================================
require_once ("../init.php");
if (! isset($_SESSION['wl_uid'])) {
    echo json_encode(array(
        'success' => false,
        'msg' => "登陆信息已过期，请重新登陆！"
    ));
    exit();
}

php_handle();
// 详细业务处理
function php_handle()
{
    // ======参数验证======
    $cid = $_SESSION['wl_cid'];
    $uid = $_SESSION['wl_uid'];
    $uname = $_SESSION['wl_uname'];
    
    // ======结果返回======
    echo json_encode(array(
        'success' => true,
        'cid' => $cid,
        'uid' => $uid,
        'uname' => $uname
    ));
    return;
}

?>